<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>

</body>
</html>
<script>
var ming = {
  name: '小明' + '君',
  age: 48,
  weight: '70kg'
};
var hong = {
  name: 'xiaohong',
  age: 33
};
var tian = {
  name: '小天',
  age: 17
};

// 数组声明的规则： [表达式, 表达式...]
var students = [ming, hong, tian];

// console.log(students);

for (var i = 0; i < students.length; i++) {
  var student = students[i];
  console.log(`排队:${i+1}`, student);
}
</script>